<div id="left">
                    <dl>
                    <dt>全部类别</dt>
            <?php foreach($cates as $cate) {if($cate['status'] && !ican('view_hidden_category'))continue; if(isset($type)){if($cate['type']!=$type)continue;}elseif($cate['type'] !=0) continue;?>        
              <dd><a class="<?php if(isset($_GET['id']) && $_GET['id'] == $cate['cid']){echo 'active';}else{echo 'normal';}?>" href="category.php?id=<?=$cate['cid'] ?>" title="<?=$cate['description']?>"><span class="ico8"><?=$cate['catename']?></span></a></dd>    
            <?php }?>
                    </dl>
                    <?php if($_G['uid']):?>
                            <dl>
            <dt>我的账户</dt>
                    <dd>
                            <a class="normal" href="index.php?app=member"><span class="ico1">账户概览</span></a>
                        </dd>
                    <dd>
                            <a class="normal" href="<?=url('home.php?f=profile')?>"><span class="ico2">个人资料</span></a>
                        </dd>
                    <dd>
                            <a class="normal" href="index.php?app=message&amp;act=newpm"><span class="ico3">短消息</span></a>
                        </dd>
                    <dd>
                            <a class="normal" href="index.php?app=friend"><span class="ico4">好友</span></a>
                        </dd>
                        <dd>
                            <a class="normal" href="index.php?app=point"><span class="ico4">积分</span></a>
                        </dd>
                   <dd>
                            <a class="normal" href="<?=url('home.php?f=web')?>"><span class="ico2">网址收藏</span></a>
                        </dd>
                         <dd>
                            <a class="normal" href="<?=url('home.php?f=article')?>"><span class="ico2">文章管理</span></a>
                        </dd>
                </dl>
                <?php endif;?>
    </div>